<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<% String path = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + request.getContextPath(); %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<!-- 引入reset.css(通用的格式化样式文件) -->
<link rel="stylesheet" type="text/css" href="<%=path %>/css/reset.css">
<!-- 引入控制当前页面的样式文件 -->
<link rel="stylesheet" type="text/css" href="<%=path %>/css/listUser.css">
</head>
<body>
	<div style="overflow: auto">
		<table>
			<!-- 表头 -->
			<thead>
				<tr>
					<td>行号</td>
					<td>商品编号</td>
					<td>商品类别</td>
					<td>商品名称</td>
					<td>商品数量</td>
					<td>总售价</td>
					<td>VIP客户电话</td>
					<td>优惠后的总售价</td>
					<td>销售员</td>
				</tr>
			</thead>
			<!-- 身体 -->
			<tbody>
				<c:forEach items="${list}" var="product" varStatus="status">
					<tr <c:if test="${status.index % 2 == 0}">class="one"</c:if>
						<c:if test="${status.index % 2 != 0}">class="two"</c:if>>
						<td>${status.index + 1 }</td>
						<td>${product.production_id }</td>
						<td>${product.production_type }</td>
						<td>${product.production_name }</td>
						<td>${product.production_num}</td>
						<td>${product.production_price}</td>
						<td>${product.phone_num}</td>
						<td>${product.production_sum_after}</td>
						<td>${product.user_id}</td>
					</tr>
				</c:forEach>
			</tbody>

		</table>
	</div>
</body>
</html>